package com.atguigu.auth.activiti;

import org.springframework.stereotype.Component;

/**
 * className: UserBean
 * description:
 * date: 2023/4/19 0019-23:30
 * <p>
 * project: guigu-oa-parent
 * package: com.atguigu.auth.activiti
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
@Component
public class UserBean {

    public String getUsername(int id) {
        if (id == 1) {
            return "lilie";
        }
        if (id == 2) {
            return "hanmeimei";
        }
        return "admin";
    }
}
